<?php
  define('ACC', true);
require('./include/init.php');
session_start(); 
//print_r($_SESSION);
$userid = $_SESSION['user_id'];

$company = new companymodel();
$companyinfo = $company->getcompanyinfo($userid);
$companyid = $companyinfo['company_id'];
 
$actionlog = $company->getactionlog($companyid, 20);

echo '<ul>';   
foreach($actionlog as $k=>$v){
   echo '<li>第' . $v['action_log_y'] . '财年，第' .$v['action_log_q']   . '季度：' . $v['action_log_content'] .'</li>';
}  
echo '</ul>';  
?>
